<template>
  <avue-form v-model="form"
             :option="option"></avue-form>
</template>
<script>
const dicData = [{
  label: '字典1',
  value: 0
}, {
  label: '字典2',
  value: 1
}, {
  label: '字典3',
  value: 2
}]
export default {
  data () {
    return {
      form: {
        select: [0, 1, 2]
      },
      option: {
        column: [{
          label: '下拉框',
          prop: 'select',
          type: 'select',
          multiple: true,
          limit: 3,
          dicData: dicData
        }, {
          label: '下拉框',
          prop: 'select',
          type: 'select',
          multiple: true,
          collapseTags: true,
          maxCollapseTags: 3,
          limit: 3,
          collapseTagsTooltip: true,
          dicData: dicData
        }]
      }
    }
  }
}
</script>